{% extends "base.html" %}


{% block title %}Stats - {{ block.super }}{% endblock %}

{% block content %}
<h1>{{cur_site}} Stats</h1>

<p id="stats">
    We have <em>{{stats.projects}} project{{stats.projects|pluralize}}</em> with
    <em>{{stats.releases}} release{{stats.releases|pluralize}}</em>, 
    <em>{{stats.screenshots}} screenshot{{stats.screenshots|pluralize}}</em> and 
    <em>{{stats.videos}} linked video{{stats.videos|pluralize}}</em>.
    <br/>
{# projects created by XX users with YY members. ZZ users are no admins or memebers of any project #}
    Of our <em>{{stats.users}} user{{stats.users|pluralize}}</em> 
    w{{stats.users_lsd|pluralize:"as,ere"}}
    <em>{{stats.users_lsd}} user{{stats.users_lsd|pluralize}} active</em> in recent 7 days
    and <em>{{stats.users_inactive}} inactive</em> for at least 1 year. 
    All together submitted <em>{{stats.snippets}} snippet{{stats.snippets|pluralize}}</em>
    and wrote <em>{{stats.comments}} comment{{stats.comments|pluralize}}</em>.
    <br>
    <em>{{stats.staff}} user{{stats.staff|pluralize}} build the staff</em>, 
    <em>{{stats.admins}} {{stats.admins|pluralize:"is,of them are"}} full admin{{stats.admins|pluralize}}</em>.
    They wrote <em>{{stats.news}} news</em>.
</em>
{% endblock %}